var express = require('express');
var router = express.Router();
var db = require('../mysql/db')

router.get('/get', function (req, res, next) {
    let sql = 'SELECT * FROM patient_info';//PatientInfo
    let str = '';
    db.query(sql, [], results => {
        res.json({
            errno: 0, message: results
        })
    })
});
module.exports = router;